//
//  T3_CustomClass.m
//  MacConsole
//
//  Created by MacVM on 2024/1/1.
//

#import <Foundation/Foundation.h>
#import "CustomClass/CAnimal.h"
#import "CustomClass/CAnimalProperty.h"
#import "CustomClass/CCat.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
//        NSLog(@"%@", [CAnimal ToString]);
        
//        CAnimal *animal = [[CAnimal alloc]init];
//        [animal setAll:8 firstName:@"Victor" lastName:@"Ni"];
//        NSLog(@"1: %@", animal);
        
        CCat *animalProperty = [[CCat alloc] init];
        animalProperty.age = 9;
        [animalProperty setFullName:@"Victor" lastName:@"Ni"];
        NSLog(@"2: %@", animalProperty);
        
    
        [animalProperty Shout];
        
        return 0;
    }
}
